package services

import (
	"context"
	"github.com/golang/protobuf/ptypes/empty"
	"github.com/golang/protobuf/ptypes/wrappers"
	context2 "kop/framework/context"
	"kop/modules/pay/client"
	"kop/pb"
)

type PayService struct {
	context2.Context
}

func (*PayService) GetProducts(ctx context.Context, req *empty.Empty) (*pb.Products, error) {

	return client.PayService.GetProducts(ctx, req)
}

func (*PayService) Create(ctx context.Context, req *wrappers.Int32Value) (*wrappers.Int64Value, error) {

	return client.PayService.Create(ctx, req)
}
